import { Base } from '../utils/base.js';

class Study extends Base {
    constructor() {
        super();
    }
	//文章列表
	get_article_list(data,callback){
		var params = {
		    url: 'study/articleList',
		    type: 'get',
			data:data,
		    loading: true,
			
		};
		this.apiRequest(params, callback);
	}
	//文章详情
	get_article_detail(data,callback){
		var params = {
		    url: 'study/articleDetail',
		    type: 'get',
			data:data,
		    loading: true,
			
		};
		this.apiRequest(params, callback);
	}
	//视频列表
	get_video_list(data,callback){
		var params = {
		    url: 'study/videoList',
		    type: 'get',
			data:data,
		    loading: true,
			
		};
		this.apiRequest(params, callback);
	}
	//视频详情
	get_video_detail(data,callback){
		var params = {
		    url: 'study/videoDetail',
		    type: 'get',
			data:data,
		    loading: true,
			
		};
		this.apiRequest(params, callback);
	}
}

export { Study };
